import request from '@/utils/request'

//查询商城售后订单信息
export function getMergeOrderId(query) {
  return request({
    url: '/shopping/mallOrderMesh/getMergeOrderId',
    method: 'get',
    params: query
  })
}



// 修改商城平台备注
export function updateOrderMesh(query) {
  return request({
    url: '/shopping/mallOrderMesh/updateOrderMesh',
    method: 'get',
    params: query
  })
}

// 查询商城订单合并下单列表
export function listMallOrderMesh(query) {
  return request({
    url: '/shopping/mallOrderMesh/list',
    method: 'get',
    params: query
  })
}

// 查询商城订单合并下单详细
export function getMallOrderMesh(ids) {
  return request({
    url: '/shopping/mallOrderMesh/' + ids,
    method: 'get'
  })
}

// 新增商城订单合并下单
export function addMallOrderMesh(data) {
  return request({
    url: '/shopping/mallOrderMesh',
    method: 'post',
    data: data
  })
}

// 修改商城订单合并下单
export function updateMallOrderMesh(data) {
  return request({
    url: '/shopping/mallOrderMesh',
    method: 'put',
    data: data
  })
}

// 删除商城订单合并下单
export function delMallOrderMesh(id) {
  return request({
    url: '/shopping/mallOrderMesh/' + id,
    method: 'delete'
  })
}
// 删除商城订单合并下单
export function logicDelMallOrderMesh(id) {
  return request({
    url: '/shopping/mallOrderMesh/' + id,
    method: 'delete'
  })
}

// 导出商城订单合并下单
export function exportMallOrderMesh(query) {
  return request({
    url: '/shopping/mallOrderMesh/export',
    method: 'get',
    params: query
  })
}
